//
//  TestTool.m
//  LazyHome
//
//  Created by yh on 2018/5/8.
//  Copyright © 2018年 yh. All rights reserved.
//

#import "TestTool.h"

@implementation TestTool

+ (NSData *)testDataWithCmd:(ushort)cmd{
    NSString *dataKey = [NSString stringWithFormat:@"%x",cmd];
    NSData *originDat = [NSData dataWithContentsOfFile:[[NSBundle mainBundle] pathForResource:dataKey ofType:@"json"]];
    return originDat;
}

@end
